package com.hengtiansoft.lfy.entity;

import android.util.Log;

/**
 * Created by daiye on 2016/10/27 0027.
 */

public class RequestRegister {
    private String openid;
    private String password;
    private String phone;
    private String picurl;
    private String nickname;
    private String gender;//0-女 1-男
    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }

    private String usercode;
    public String getImgdata() {
        return imgdata;
    }

    public void setImgdata(String imgdata) {
        this.imgdata = imgdata;
    }

    private String imgdata;
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    private String username;
    public RequestRegister(){

    }
    public RequestRegister(String nickname, String type, String picurl, String phone, String password, String openid,String username,String imgdata,String usercode) {
        this.nickname = nickname;
        this.type = type;
        this.picurl = picurl;
        this.phone = phone;
        this.password = password;
        this.openid = openid;
        this.username=username;
        this.imgdata=imgdata;
        this.usercode=usercode;
        Log.i("supeng",toString());
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    private String type;
    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public String getPicurl() {
        return picurl;
    }

    @Override
    public String toString() {
        return "RequestRegister{" +
                "imgdata='" + imgdata + '\'' +
                ", openid='" + openid + '\'' +
                ", password='" + password + '\'' +
                ", phone='" + phone + '\'' +
                ", picurl='" + picurl + '\'' +
                ", nickname='" + nickname + '\'' +
                ", usercode='" + usercode + '\'' +
                ", username='" + username + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public void setPicurl(String picurl) {
        this.picurl = picurl;
    }
}
